{% extends "product/base.html" %}{% load i18n %} {% block content %}
{% block title %}{% trans "Category List" %}{% endblock %}
<div>

	<a href="/product/category/new/{{level}}/"> {% trans "Add Category" %} </a>
	{% if user and categories %}
	<ol>
		{% for category in categories %}
		<li>
			<a href="/product/category/{{category.id}}/">{{ category.get_category_chain }}</a> &nbsp;&nbsp;&nbsp;&nbsp;
			<a href="/product/category/{{category.id}}/delete/"> {% trans "button delete" %} </a>
		</li>
		{% endfor %}
	</ol>
	{% endif %}
</div>
{% endblock %}
